﻿using Cms.Core.Infrastructure.Dependency;
using Cms.Core.Infrastructure.Runtime.Session;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cms.Core.Infrastructure.Entity
{
    /// <summary>
    /// Dto基本实体
    /// </summary>
    public class EntityDto : IEntityDto
    {

        /// <summary>
        /// 主键
        /// </summary>
        public virtual Guid Id { get; set; } = Guid.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建用户ID
        /// </summary>
        public virtual Guid? CreateUserId { get; set; }

        /// <summary>
        /// 是否删除，默认否
        /// </summary>
        public virtual bool IsDelete { get; set; } = false;

        /// <summary>
        /// 修改用户ID
        /// </summary>
        public virtual Guid? ModifiedUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public virtual DateTime? ModifiedTime { get; set; }
    }
}
